/** 
* @Title: Person.java 
* @Package com.lh.reflection.bean 
* @Description: TODO
* @author Liu 
* @date 2018年1月23日 下午3:06:10 
* @version V1.0 
*/
package com.lh.reflection.bean;

/**
 * @ClassName: Person
 * @Description: Person实体类
 * @author Liu
 * @date 2018年1月23日 下午3:06:10
 * 
 */
public class Person {
	private int age;
	private String name;

	public Person() {
		System.out.println("constructor no param run...");
	}

	public Person(String name,int age) {
		this.age = age;
		this.name = name;

		System.out.println("constructor with param run..." + this.name + ":" + this.age);
	}

	public void show() {
		System.out.println(name + "...show run..." + age);
	}

	private void privateMethod() {
		System.out.println("method run");
	}

	public void paramMethod(String str, int num) {
		System.out.println("paramMethod run..." + str + ":" + num);
	}

	public static void staticMethod() {
		System.out.println("static method run...");
	}

}
